<el-dialog title="编辑节点" v-model="editFormDialog">
 <el-form :model="editForm" :label-width="dialogLabelWidth">
    <el-form-item label="节点分类：" style="width:270px;">
     <el-select  v-model="editForm.pid" filterable  placeholder="请选择节点分类">
       <el-option v-for="item in levelOne" :label="item.name" :value="item.id" :disabled="item.disabled"></el-option>
     </el-select>
     <!-- <span>
       这里还要处理一下 编辑 顶级时应该不可选
       二级时 不能换成顶级
     </span> -->
    </el-form-item>
    <el-form-item label="节点中文名：">
     <el-input v-model="editForm.title" place="请输入权限名称" style="width:270px;"></el-input>
    </el-form-item>
    <el-form-item label="节点名：">
      <el-input  v-model="editForm.name" placeholder="请输入节点名" style="width:270px;"></el-input>
    </el-form-item>
   <el-form-item label="节点说明：">
     <el-input type="textarea" v-model="editForm.remark" style="width:500px;" placeholder="请为节点添加说明"></el-input>
   </el-form-item>

   <el-form-item label="节点排序：">
    <el-input-number v-model="editForm.sort" :min="0" size="small" ></el-input-number>
    <span>由小到大</span>
   </el-form-item>

    

   <el-form-item label="状态：">
      <el-radio class="radio" v-model="editForm.status" label="0">禁用</el-radio>
      <el-radio class="radio" v-model="editForm.status" label="1">启用</el-radio>
   </el-form-item>
 </el-form>
  <span slot="footer" class="dialog-footer">
    <el-button @click="closeDialog('edit')">取 消</el-button>
    <el-button type="primary" v-show="!editFormSubmitStatus" @click="editFormSubmit(page.editFormUrl, 'edit')" >确 定</el-button>
    <el-button type="primary" v-show="editFormSubmitStatus" :loading="true" >修改中</el-button>
  </span>
</el-dialog>